#!/bin/bash
mkdir onvif_head
cd onvif_head
# 类型映射文件typemap.dat路径: /usr/local/share/gsoap
wsdl2h -o  onvif.h  -c -s -d -x -t typemap.dat \
http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl \
https://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl \
http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl \
http://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl \
http://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl \
https://www.onvif.org/ver10/events/wsdl/event.wsdl


# wsdl2h -P -x -c -s -t ./typemap.dat -o samples/onvif/onvif.h 
#https://www.onvif.org/ver10/network/wsdl/remotediscovery.wsdl 
#https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl 
#https://www.onvif.org/ver10/media/wsdl/media.wsdl 
#https://www.onvif.org/ver10/events/wsdl/event.wsdl

